P+ - Game & Watch - Action - 0x119

Entry Script

  1. if (FacingRight)
    1. FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: 1 }
  2. else
    1. FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: -1 }
  3. CreateInterrupt { interrupt_id: None, action: 0x11c, requirement: ((RandomAccessInt (0x8) GreaterThan scalar(30))) }
  4. PreviousInterruptAddRequirement(BoolIsTrue RandomAccessBool (0x11))
  5. Subroutine(0x23b78)
  6. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. SetAirGround(6)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialLw)
      4. else
        1. ChangeSubactionRestartFrame(SpecialLw)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. SetAirGround(0)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirLw)
      4. else
        1. ChangeSubactionRestartFrame(SpecialAirLw)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. UnknownEvent { namespace: 0x4, code: 0x5, unk1: 0x0, arguments: [Value(24)] }
    4. LoopRest

Exit Script